

const chat = {
  state: {
    id:"",
    conversations:"",
    websocket:""
  },

  mutations: {

    SET_ID: (state, id) => {
      state.id = id
    },
    SET_CONVERSATIONS: (state, conversations) => {
      state.conversations = conversations
    },
    SET_WEBSOCKET: (state, websocket) => {
      state.websocket = websocket
    },
  },


}

export default chat
